package merchant

import "crmeb-common/global"

// MerchantInfo 商户信息表
type MerchantInfo struct {
	global.BaseModel

	MerId int32 `json:"merId" gorm:"column=mer_id;comment:商户ID"`

	SettlementType string `json:"settlementType" gorm:"column=settlement_type;comment:结算类型:bank-银行卡,wechat-微信,alipay-支付宝"`

	BankUserName string `json:"bankUserName" gorm:"column=bank_user_name;comment:持卡人姓名"`

	BankName string `json:"bankName" gorm:"column=bank_name;comment:银行名称"`

	BankCard string `json:"bankCard" gorm:"column=bank_card;comment:银行卡号"`

	BankAddress string `json:"bankAddress" gorm:"column=bank_address;comment:开户地址"`

	WechatCode string `json:"wechatCode" gorm:"column=wechat_code;comment:微信号"`

	WechatQrcodeUrl string `json:"wechatQrcodeUrl" gorm:"column=wechat_qrcode_url;comment:微信收款二维码"`

	RealName string `json:"realName" gorm:"column=real_name;comment:真实姓名"`

	AlipayCode string `json:"alipayCode" gorm:"column=alipay_code;comment:支付宝账号"`

	AlipayQrcodeUrl string `json:"alipayQrcodeUrl" gorm:"column=alipay_qrcode_url;comment:支付宝收款二维码"`

	AlertStock int32 `json:"alertStock" gorm:"column=alert_stock;comment:警戒库存"`

	ServiceType string `json:"serviceType" gorm:"column=service_type;comment:客服类型：H5-H5链接、phone-电话"`

	ServiceLink string `json:"serviceLink" gorm:"column=service_link;comment:客服H5链接"`

	ServicePhone string `json:"servicePhone" gorm:"column=service_phone;comment:客服电话"`
}
